<?php

echo "<h2>". $page->title ."</h2>";
echo "<h3>". $page->intro ."<br />" .$page->body ."</h3>";
echo "<h4>". $page->author_id ."</h4>";

echo "<hr />";

echo $page->num_comments. " commenti<br/>";

echo "<hr /><br /><br />";

echo $page->comm_auth ."<br />";
echo $page->comm_body ."<br />";

echo "Versioni disponibili: ";

foreach ($page->translations as $translation)
{
	//echo $translation->language;
	
	echo anchor('pages/view/'.$translation->id, $translation->language)." ";
}

echo "<br /><br />";

echo anchor('pages/', 'Indietro') ."<br /><br />";
		
